/* === v-form === */
.v-form {
  &--label-left {
    &.v-form-item__label {
      text-align: left;
    }
  }
  &--label-top {
    &.v-form-item__label {
      float: none;
      display: inline-block;
      text-align: left;
      padding: 0 0 10px 0;
    }
  }
  &--inline {
    &.v-form-item {
      display: inline-block;
      margin-right: 10px;
      vertical-align: top;
    }
    &.v-form-item__label {
      float: none;
      display: inline-block;
    }
    &.v-form-item__content {
      display: inline-block;
      vertical-align: top;
    }
    &.v-form--label-top .v-form-item__content {
      display: block;
    }
  }
}

.v-form-item {
  margin-bottom: 20px;
  .utils-clearfix;

  & .v-form-item {
    margin-bottom: 0;
  }

  &__label {
    text-align: right;
    vertical-align: middle;
    float: left;
    font-size: @font-size-base;
    color: @extra-light-black;
    line-height: 1;
    padding: 11px 12px 11px 0;
    box-sizing: border-box;
  }
  &__content {
    line-height: 36px;
    position: relative;
    font-size: @font-size-base;
    .utils-clearfix;
  }
  &__error {
    color: @color-danger;
    font-size: 12px;
    line-height: 1;
    padding-top: 4px;
    position: absolute;
    top: 100%;
    left: 0;
  }

  &.is-required {
    .v-form-item__label:before {
      content: '*';
      color: @color-danger;
      margin-right: 4px;
    }
  }

  &.is-error {
    & .v-input__inner,
    & .v-textarea__inner {
      border-color: @color-danger;
    }
    & .v-input-group__append,
    & .v-input-group__prepend, {
      & .v-input__inner {
        border-color: transparent;
      }
    }
  }
}
